package day05;
//利用for循环计算：打印字符*组成的直角三角形，输出结果如下所示：
public class Fors3 {
    public static void main(String[] args) {
        System.out.println("*");
        for (int i = 0; i<6;i++){
            for (int s = 0;s <=i+1;s++){
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
